package xyz.riceball.common.entity.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;
import xyz.riceball.common.entity.po.SysLogPO;

import java.time.LocalDateTime;

/**
 * <p>
 *
 * </p>
 *
 * @author xiaovcloud
 * @since 2022/7/28 20:24
 */
@Data
public class SysLogDTO extends SysLogPO {
    /**
     * 查询的开始时间
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private LocalDateTime operatorTimeFrom;
    /**
     * 查询的结束时间
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private LocalDateTime operatorTimeTo;

}
